package com.xhsj.user.hr.process.hrLeaveProcess.mapper;

import com.xhsj.user.hr.process.hrLeaveProcess.query.LeaveVacationQuery;
import com.xhsj.user.hr.process.processDefinition.query.MapQuery;
import org.apache.ibatis.annotations.Mapper;
import com.xhsj.user.hr.process.hrLeaveProcess.entity.TbHrApprovalLeaveVacation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * <p>
 * 流程-hr假期类型表 Mapper 接口
 * </p>
 *
 * @author liuqinghua
 * @since 2020-09-01
 */
@Mapper
public interface TbHrApprovalLeaveVacationMapper extends BaseMapper<TbHrApprovalLeaveVacation> {

    /**
     * 获取请假类型
     * @author liuqinghua
     * @date Sep 1, 2020 11:08:36 AM
     */
    List<LeaveVacationQuery> getLeaveVacation(@Param("vacationIdList") List<Long> vacationIdList);

    int getCountByName(@Param("name") String name);
}
